#define NOB_EXPERIMENTAL_DELETE_OLD // before impl define
#define NOB_IMPLEMENTATION
#define NOB_STRIP_PREFIX
#include "nob.h"

Cmd cmd = {0};

int main(int argc, char** argv) {
    NOB_GO_REBUILD_URSELF(argc, argv);

    nob_log(INFO, "hello");
    cmd_append(&cmd, "cc");
    #if 0
    cmd_append(&cmd, "-Wall");
    cmd_append(&cmd, "-Wextra");
    #endif
    cmd_append(&cmd, "-ggdb");
    cmd_append(&cmd, "-o", "main");
    cmd_append(&cmd, "main.c");
    cmd_append(&cmd, "game.c");
    cmd_append(&cmd, "-lX11"); // link x11 in wsl
    if (!cmd_run(&cmd)) return 1;
    return 0;
}
